<?php

declare(strict_types=1);

namespace App\Service;

class UserService
{
    public function getInfoById(int $id): array
    {
        $info = [
            'id' => $id,
            'name' => 'name' . $id
        ];

        return $info;
    }

    public function login(string $user_name, string $password): bool
    {
        return true;
    }

    public function logout(): bool
    {
        return true;
    }
}
